//
//  Login.m
//  FangZu
//
//  Created by wanghui on 2017/9/9.
//  Copyright © 2017年 HiloongFitness. All rights reserved.
//

#import "Login.h"
#import "LoginController.h"
@implementation Login



+ (void)presentLoginPage
{
    UINavigationController *controller =  (UINavigationController *)[UIApplication sharedApplication].keyWindow.rootViewController;

    UIViewController *current = controller;
    LoginController *login = [[LoginController alloc]init];
    UINavigationController *navi = [[UINavigationController alloc]initWithRootViewController:login];
    navi.navigationBarHidden = YES;
    [current presentViewController:navi animated:YES completion:^{
        
    }];

    [[HttpClient shareInstanceClient].operationQueue cancelAllOperations];

}
@end
